

package com.hulk.ratel.config;

import com.hulk.ratel.config.tenant.FeignTenantInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author hulk
 * @date 2018/9/14
 * feign 租户信息拦截
 */
@Configuration
public class FeignTenantConfiguration {

	@Bean
	public RequestInterceptor feignTenantInterceptor() {
		return new FeignTenantInterceptor();
	}
}
